$OpenBSD: patch-ldd,v 1.1 2012/10/11 12:11:04 ajacoutot Exp $
--- usr/bin/ldd.orig	Thu Oct 11 10:59:15 2012
+++ usr/bin/ldd	Thu Oct 11 11:01:39 2012
@@ -27,7 +27,8 @@
 TEXTDOMAIN=libc
 TEXTDOMAINDIR=/usr/share/locale
 
-RTLDLIST=/lib/ld-linux.so.2
+RTLDLIST=/emul/linux/usr/bin/ld-2.9-elf.so
+
 warn=
 bind_now=
 verbose=
@@ -99,7 +100,7 @@
   # Maybe extra code for non-ELF binaries.
   file=$1
   # Run the ldd stub.
-  lddlibc4 "$file"
+  /emul/linux/usr/bin/lddlibc4 "$file"
   # Test the result.
   if test $? -lt 3; then
     return 0;
